package com.sh4.entity;


import java.util.Date;

// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * Enum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "system_enum")

public class SystemEnum implements java.io.Serializable {

	// Fields

	private String id;
	private String enumCode;
	private String enumName;
	private String parentCode;
	private String companyCode;
	private Boolean status;
	private String remark;
	private Date createDate;
	private String createBy;
	private Date updateDate;
	private String updateBy;

	// Constructors

	/** default constructor */
	public SystemEnum() {
	}

	/** full constructor */
	public SystemEnum(String enumCode, String enumName, String parentCode, String companyCode, String remark,
			Date createDate, String createBy, Date updateDate, String updateBy) {
		this.enumCode = enumCode;
		this.enumName = enumName;
		this.parentCode = parentCode;
		this.companyCode = companyCode;
		this.remark = remark;
		this.createDate = createDate;
		this.createBy = createBy;
		this.updateDate = updateDate;
		this.updateBy = updateBy;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")

	@Column(name = "ID_", unique = true, nullable = false, length = 64)

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "ENUM_CODE_", length = 64)

	public String getEnumCode() {
		return this.enumCode;
	}

	public void setEnumCode(String enumCode) {
		this.enumCode = enumCode;
	}

	@Column(name = "ENUM_NAME_", length = 100)

	public String getEnumName() {
		return this.enumName;
	}

	public void setEnumName(String enumName) {
		this.enumName = enumName;
	}

	@Column(name = "PARENT_CODE_")

	public String getParentCode() {
		return this.parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	@Column(name = "COMPANY_CODE_", length = 64)

	public String getCompanyCode() {
		return this.companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	
	@Column(name = "STATUS_",length=10)

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	@Column(name = "REMARK_")

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "CREATE_DATE_", length = 19)

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "CREATE_BY_", length = 64)

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	@Column(name = "UPDATE_DATE_", length = 19)

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Column(name = "UPDATE_BY_", length = 64)

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}